<div class="popup_body">
	<div class="popup_head">
		<a href="#">Загрузите свой аватар</a>
		<div class="popup_action">
			<div class="popup_action_link l7" id="popup_close"></div>
			<!-- <div class="popup_action_link l8"></div> -->
		</div>
	</div>
	<div class="popup_content ">
		<?php if(Yii::app()->request->getParam('event')==$_GET['event']):?>
		<form name="form" action="<?php echo Yii::app()->createUrl('event/uploadAvatarImg',array('event'=>$_GET['event']))?>" method="POST" enctype="multipart/form-data">
			<img id="loading" src="/images/loading.gif" style="display:none;">
			<div class="add_files_fld">
				<div class="c">
					<div class="cc">
						<div class="add_files_fld_txt">перетащите сюда фото для загрузки</div>
						<a href="#" class="green_btn"><i>+</i>Добавить фото</a>
						<label for="fileToUpload"><i>+</i>Добавить аватар</label>
						<input id="fileToUpload" type="file" size="45" name="image" class="fileUpload"/>
					</div>
				</div>
			</div>
		</form>
	<?php endif; ?>
	</div>
</div>